package com.mingshashan.building.easy.core.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mingshashan.building.easy.core.common.EasyPage;
import com.mingshashan.building.easy.core.entity.Position;

import java.util.List;

/**
 * IPositionMapper
 *
 * @author jasonxu
 */
public interface IPositionMapper extends BaseMapper<Position> {

    Position selectByCode(String code);

    List<Position> searchPositions(String code, String name);
}
